Xbasic

thread.RecordEvent Method

Syntax

dim result as N = thread.RecordEvent(Name as C, Description as C = , StartWaitTime as N = -1)

Arguments

NameCharacter

The event name.

DescriptionCharacter

Default = "". A description of the event.

StartWaitTimeNumeric

Default = -1.

Returns

resultNumeric

Returns the elapsed time in microseconds.

Description

Write an event marker for the thread (used in tracing). This is an advanced function for use in diagnosing issues.

Limitations

Internal Use Only